home *** CD-ROM | disk | FTP | other *** search
- Path: Inter.NL.net!usenet
- From: Auke.Reitsma@net.HCC.nl (Auke Reitsma)
- Newsgroups: comp.lang.c
- Subject: Re: How to read a STRING from file?
- Date: Fri, 15 Mar 1996 23:03:54 GMT
- Organization: Inter.NL.net, The Internet Provider in The Netherlands.
- Message-ID: <4ictau$736@altrade.nijmegen.inter.nl.net>
- References: <s3032089.13.314913E2@sparc13.ncu.edu.tw>
- Reply-To: Auke.Reitsma@net.HCC.nl
- NNTP-Posting-Host: rt99-14.rotterdam.nl.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- s3032089@sparc13.ncu.edu.tw (Alexander PeaceLand) wrote:
-
- > How could I read a real string from the file?
- > I used to read string by fscanf(), but it seems not work when the string
- > I want is like "This is a book" that with space within it.
- > Is there any function or easy way to read sentence from file?
-
- RTFM on fscanf() ... or use fgets() ...
-
- Greetings from Delft, The Netherlands.
-
- Auke Reitsma
-
-